/* -----------------------------------------------------------------------------
*  CFileNameHelper
*  Author: Antonio Javier Gallego Sánchez (ajgallego AT gmail DOT com)
*  License: GNU Public License
* ----------------------------------------------------------------------------*/

#ifndef CFILENAMEHELPER_HPP_
#define CFILENAMEHELPER_HPP_

class CFileNameHelper
{
    public:
        static const char* getPathName( const char* filename );

        static const char* getFileName( const char* filename );

        static const char* getFileNameWithoutExtension( const char* filename );

        static const char* getExtension( const char* filename );

        static const char* addFinalSlashBar( const char* foldername );

        static const char* generateNumberedFilename( const char* path, const char* filename,
                                unsigned int numeration, bool numberAsPrefix,
                                const char* separatorOfNumberAndName );
};

#endif